﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SampleShop
{
    public interface IUser
    {
        
        /// <summary>
        /// 是否降价通知
        /// </summary>
        /// <param name="isNotify"></param>
        void IsNotify(bool isNotify);

        /// <summary>
        /// 关注商品
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="productId"></param>
        void FocusProduct(IProduct product);

        /// <summary>
        /// 关注商家
        /// </summary>
        /// <param name="userId"></param>
        void FocusMerchant(AbstractUser product);
    }
}
